package com.project.bean;

import java.util.List;

public class UserBean {
    private Integer userId;
    private String username;
    private String password;
    private List<GradeBean> gradeBeanList;

    public UserBean() {
    }

    public UserBean(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public UserBean(String username, String password, List<GradeBean> gradeBeanList) {
        this.username = username;
        this.password = password;
        this.gradeBeanList = gradeBeanList;
    }

    public UserBean(List<GradeBean> gradeBeanList) {
        this.gradeBeanList = gradeBeanList;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public List<GradeBean> getGradeBeanList() {
        return gradeBeanList;
    }

    public void setGradeBeanList(List<GradeBean> gradeBeanList) {
        this.gradeBeanList = gradeBeanList;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "userId=" + userId +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", gradeBeanList=" + gradeBeanList +
                '}';
    }
}
